import request from '@/utils/request'
import { Question, QuestionReply } from '@/model/business/questions/publish/model'

export function loadQuestion () {
  return request<Question>({
    url: '/publish/getQuestion'
  })
}

export function savePublish (data: QuestionReply) {
  console.log(data)
  return request({
    url: '/publish/save',
    method: 'post',
    data: data
  })
}
